﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="Ait.Web.Templates.Contact._default" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContentPlaceHolder" runat="server">
  <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;sensor=false&amp;key=ABQIAAAAcRHllqLN_3P3NCLoAnLodBTYxUULj0SlJmBp0MgFREs11ZeUiBTSb11O0le1GefX16KPPgE6xEl5NQ" type="text/javascript"></script>
     <script type="text/javascript">
         $(document).ready(function() {
             initialize()
         });

         function initialize() {
             if (GBrowserIsCompatible()) {
                 var map = new GMap2(document.getElementById("image_wrap"));
                 map.setMapType(G_NORMAL_MAP);
                 map.setCenter(new GLatLng(51.45283, -0.964651), 15);
                 map.setUIToDefault();

                 var point = new GLatLng(51.452284, -0.964524);
                 map.addOverlay(new GMarker(point));
                 //moo
             }


         }

    </script>
 
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="LcolContentPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="RcolContentPlaceHolder" runat="server">
    <div class="lcol">
        <div class="copy">
            <h1>Contact</h1>
            <p>If you wish to send an email, to help us direct your message to the correct team, please select your area of interest from the drop down box below:</p>        </div>

<asp:Panel ID="pnlMessageSent" Visible="false" runat="server">
    <p style="color:Red">Your message has been sent!</p>
</asp:Panel>

<asp:Panel ID="pnlMessageError" Visible="false" runat="server">
    <p style="color:Red">Your message has not been sent.</p>
</asp:Panel>
           <asp:Panel ID="pnlCreateMsg" Visible="true" runat="server">
        <div class="form">
            <div class="clearfix">
                <asp:Label AssociatedControlID="ddlSubject" Text="Please contact me regarding" runat="server"/>
                <asp:DropDownList runat="Server" ID="ddlSubject">
                    <asp:ListItem  Text="Data Centre Management"/>
                    <asp:ListItem  Text="Network Solutions"/>
                    <asp:ListItem Text="Digital signage"/>
                    <asp:ListItem Text="Returning a product"/>
                    <asp:ListItem Text="Technical support"/>
                    <asp:ListItem Text="Accounts"/>
                    <asp:ListItem Text="Customer service"/>
                    <asp:ListItem Text="Recruitment"/>
                </asp:DropDownList>
            </div>
                
                
            <div>
                <asp:Label AssociatedControlID="txtName" runat="server" Text="Name"/>
                <asp:TextBox runat="server" ID="txtName" CssClass="text"/>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" CssClass="formError" runat="server" ControlToValidate="txtName" Display="Dynamic" ErrorMessage="Please Check" />
            </div>
            <div>
                <asp:Label ID="Label1" AssociatedControlID="txtCompany" runat="server" Text="Company"/>
                <asp:TextBox runat="server" ID="txtCompany" CssClass="text"/>
            </div>
            <div>
                <asp:Label ID="Label2" AssociatedControlID="txtPhone" runat="server" Text="Telephone"/>
                <asp:TextBox runat="server" ID="txtPhone" CssClass="text"/>
            </div>
            <div>
                <asp:Label ID="Label4" AssociatedControlID="txtEmail" runat="server" Text="Email"/>
                <asp:TextBox runat="server" ID="txtEmail" CssClass="text"/>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" CssClass="formError" runat="server" ControlToValidate="txtEmail" Display="Dynamic" ErrorMessage="Please Check" />
                <asp:RegularExpressionValidator ID="valEmailFormat" ControlToValidate="txtEmail"  CssClass="formError" ErrorMessage="Invalid Email" Display="Dynamic" runat="server" ValidationExpression="^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$" />
            </div>
            <div>
                <asp:Label ID="Label3" AssociatedControlID="txtQuestion" runat="server" Text="Enquiry"/>
                <asp:TextBox TextMode="MultiLine" runat="server" ID="txtQuestion"/>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" CssClass="formError" runat="server" ControlToValidate="txtQuestion" Display="Dynamic" ErrorMessage="Please Check" />
            </div>
            <div>
                <asp:Label ID="Label5" runat="server" Text=" "/>
                <asp:Button ID="btnSubmit" Text="Send" runat="server" />
            </div>
        </div>
        
        </asp:Panel>
        
        <p>To contact us by telephone please call: 0845 017 7017. Or fax: 0845 017 7019.</p>
        <p>1 Southern Court<br />            South Street<br />             Reading<br />            RG1 4QS</p>
        <%--<asp:Image runat="server" ImageUrl="~/Images/dbImages/googleMaps.gif" />--%>
        <div id="image_wrap" style="width:450px; height:383px;" ></div>
        
        
    </div>
    <div class="rcol">
        <asp:Image ID="Image1" ImageUrl="~/Images/Contact.jpg" runat="server" CssClass="mainImage" />
        
        <acms:TextContentControlDisplay ID="TextContentControlDisplay1" ControlName="JavaScriptSnipet" runat="server" />    
        
        <%--<asp:Image ID="Image1" ImageUrl="~/Images/dbImages/newsItem_rcol.jpg" runat="server" />
        <a href="#" class="pdfDownload">Download article</a>--%>
        
        <%--<div class="shout">
            <h2>Area 1</h2>
            <div class="item">
                <p>bla bla</p>
            </div>
            <div class="item">
                <p><a href="#">Moo mee</a></p>
            </div>
        </div>
        <div class="shout careers">
            <h2>Area 2</h2>
            <div class="item">
                <p>The quick brown fox jumped over the lazy dog.</p>
            </div>
        </div>--%>
        
        <%--<div class="list">
            <h2>Related Articles</h2>
            <ul>
                <li><a href="#" class="">Ipsum dolor sit amet</a></li>                <li><a href="#" class="">Signage to NHS Trust</a></li>                <li><a href="#" class="">AIT Provide Digital </a></li>            </ul>        </div>--%>
        <%--<div class="quote">
            <blockquote>"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."</blockquote>
            <span class="ref">John Smith</span>                           </div>--%>
    </div>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="FooterContentPlaceHolder" runat="server">
</asp:Content>
